package cn.ejiajunxy.manager.adapter;

import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.leo.baseui.mutiType.base.ItemViewProvider;

import cn.ejiajunxy.manager.R;
import cn.ejiajunxy.manager.model.OrderModel;


/**
 * Created by zhangguobao on 2018/3/11.
 */
public class OrderProvider
        extends ItemViewProvider<OrderModel, OrderProvider.ViewHolder> {

    @NonNull
    @Override
    protected ViewHolder onCreateViewHolder(
            @NonNull LayoutInflater inflater, @NonNull ViewGroup parent) {
        View root = inflater.inflate(R.layout.row_order, parent, false);
        return new ViewHolder(root);
    }

    @Override
    protected void onBindViewHolder(@NonNull ViewHolder holder, @NonNull OrderModel order) {

    }

    static class ViewHolder extends RecyclerView.ViewHolder {

        ViewHolder(View itemView) {
            super(itemView);
        }
    }
}